package com.yiyi.word_test.service;

import com.yiyi.word_test.dto.GradeCountDTO;
import com.yiyi.word_test.entity.History;
import com.yiyi.word_test.vo.HistoryVO;

import java.util.List;

public interface HistoryService {
    History saveHistory(String userOpenid, Integer grade, Integer testScore);
    Integer calculateScore(GradeCountDTO gradeCountDTO);
    List<HistoryVO> getHistory(String userOpenId);
}
